/**
 * User: alesj
 * Date: Apr 3, 2003
 * Time: 12:08:17 PM
 */

package com.generalynx.common.web.tags;

public interface INode {

    /**
     * @return is node checked?
     */
    public boolean isChecked();

    public void setChecked(boolean checked);

    /**
     * unique id .. usage in tree
     *
     * @deprecated not to be used in future versions
     */
    public void setUniqueID(int id);

    /**
     * @deprecated not to be used in future versions
     */
    public int getUniqueID();

    /**
     * @deprecated use getId
     */
    public int getEntityID();

    //set this to true when class is a leaf!
    /**
     * @deprecated use IRootable.getCondition
     */
    public boolean hasChildren(String extra);

}
